const Koa = require('koa');
const app = new Koa();
console.log('Koa启动。。。。端口为2500')
app.use(async(ctx, next) => {
    console.log(ctx)
    ctx.body = {
        name: 'hello',
        title: 'world'
    }
})
app.listen(2500)